#ifndef LINKLIST_H
#define LINKLIST_H
#include<cstdlib>
typedef struct record
{
    double x,y;
    struct record *next;
} Record;
class LinkList
{
public:
    LinkList();
    unsigned int getLength();
    void add(double pos1,double pos2);
    void del(double& temp1,double& temp2);
    double origin[2],x[2],y[2];
private:
    unsigned int length;
    Record *next;
};

#endif // LINKLIST_H
